package bhbt.controller.admin.member;


import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import bhbt.controller.core.BaseController;
import bhbt.service.DailiService;
import bhbt.taglib.pagetag.Pagination;
import bhbt.utils.MapUtil;






/**
 * Created by Administrator on 2016/3/25.
 */
@Controller

public class DailiListController extends BaseController {
    @Resource
    private DailiService dailiService;
   
     
    @RequestMapping("admin/member/dailiList.shtml")
    public String list(HttpServletRequest request) throws Exception{
    	Map formMap = getParameterMap(request);
    	String name = MapUtil.getString(formMap, "name");
    	 
        Pagination page = dailiService.queryForPageList(formMap);
        request.setAttribute(Pagination.pageBeanName, page);
        return "admin/member/dailiList";
    }

   
}
